package abcy.cloud.blogcommon.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum SignEnum {

    USER(1, "user"),
    ROLE(2, "role"),
    ROLE_(3, "ROLE_"),
    PERMISSION(4, "permission"),
    WHITE(5, "white"),
    MENU(6, "menu"),
    FLOW_ROLE(4, "ROLE_TEST_FLOW_USER"),
    COUNTERSIGN_APPROVE1_ROLE(5, "ROLE_COUNTERSIGN_APPROVE1_USER"),
    COUNTERSIGN_ROLE(6, "ROLE_COUNTERSIGN_USER"),
    COUNTERSIGN_APPROVE2_ROLE(7, "ROLE_COUNTERSIGN_APPROVE2_USER"),
    REJECT_APPROVE1_ROLE(8, "ROLE_REJECT_APPROVE1.USER"),
    REJECT_APPROVE2_ROLE(8, "ROLE_REJECT_APPROVE2.USER"),
    EXCLUSIVE_GATEWAY_ROLE1(9, "ROLE_GATEWAY_USER1"),
    EXCLUSIVE_GATEWAY_ROLE2(9, "ROLE_GATEWAY_USER2"),
    EXCLUSIVE_GATEWAY_ROLE3(9, "ROLE_GATEWAY_USER3"),
    EXCLUSIVE_GATEWAY_ROLE4(9, "ROLE_GATEWAY_USER4"),
    ;
    private final Integer code;

    private final String value;
}
